<?php

namespace YouBaoLian\Application\Request;

use YouBaoLian\Application\Response\VehicleQuerySalesPersonResponse;
use YouBaoLian\Application\Response\VehicleVerifySmsCodeResponse;

class VehicleQuerySalesPersonRequest extends Request
{

    /**
     * 报价配置ID
     * @var int $configId
     */
    private $configId = 0;

    /**
     * 车牌号
     * @var string $licenseNo
     */
    private $licenseNo = '';

    /**
     * 车架号
     * @var string $frameNo
     */
    private $frameNo = '';

    /**
     * 车商编码/合作网点编码
     * @var string $saleCode
     */
    private $saleCode = '';


    protected $method = 'iebcVehicle.querySalesPerson';

    protected $response = VehicleQuerySalesPersonResponse::class;

    public function getBizContent(): array
    {
        return [
            'configId' => $this->configId,
            'licenseNo' => $this->licenseNo,
            'frameNo' => $this->frameNo,
            'saleCode' => $this->saleCode
        ];
    }

    /**
     * @param int $configId
     */
    public function setConfigId(int $configId): void
    {
        $this->configId = $configId;
    }

    /**
     * @param string $licenseNo
     */
    public function setLicenseNo(string $licenseNo): void
    {
        $this->licenseNo = $licenseNo;
    }

    /**
     * @param string $frameNo
     */
    public function setFrameNo(string $frameNo): void
    {
        $this->frameNo = $frameNo;
    }

    /**
     * @param string $saleCode
     */
    public function setSaleCode(string $saleCode): void
    {
        $this->saleCode = $saleCode;
    }


}
